<template>
  <div class="main">
    <TopView></TopView>
    <MiddleView ></MiddleView>
    <BottomView></BottomView>
  </div>
</template>

<script lang="ts">
export default {
  name: 'Home',
}
</script>

<script lang="ts" setup>
import {useEchartsStore} from '@/stores/echarts'
import {onMounted} from 'vue'
import TopView from './TopView/index.vue'
import MiddleView from './MiddleView/index.vue'
import BottomView from './BottomView/index.vue'
const echartsStore = useEchartsStore()

onMounted(()=>{
  echartsStore.getEchartsData()
})
</script>

<style lang="scss" scoped>
.main{
  background-color: #ccc;
  padding:20px
}
</style>
